Skip to content

Conversation

AbhishekRP2002
Copy link
Contributor

for Context Precision without reference definition, i.e LLMContextPrecisionWithoutReference metric can be used when you have both retrieved contexts and also reference contexts associated with a user_input.

Here, it should be reference answer instead of reference contexts as per my understanding

Similarly,

for Context Precision with reference definition i.e LLMContextPrecisionWithReference metric is can be used when you have both retrieved contexts and also reference answer associated with a user_input.

here, reference answer should be replaced with reference context

for `Context Precision without reference` definition, i.e
LLMContextPrecisionWithoutReference metric can be used when you have both retrieved contexts and also reference contexts associated with a user_input.

Here, it should be reference `answer` instead of reference `contexts` as per my understanding

Similarly, 

for `Context Precision with reference definition` i.e
LLMContextPrecisionWithReference metric is can be used when you have both retrieved contexts and also reference answer associated with a user_input. 

here, reference answer should be replaced with reference context
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 19, 2025
@anistark anistark merged commit 1e7dcb8 into explodinggradients:main Aug 23, 2025
2 checks passed
ahgraber pushed a commit to ahgraber/ragas that referenced this pull request Aug 26, 2025
for `Context Precision without reference` definition, i.e
LLMContextPrecisionWithoutReference metric can be used when you have
both retrieved contexts and also reference contexts associated with a
user_input.

Here, it should be reference `answer` instead of reference `contexts` as
per my understanding

Similarly, 

for `Context Precision with reference definition` i.e
LLMContextPrecisionWithReference metric is can be used when you have
both retrieved contexts and also reference answer associated with a
user_input.

here, reference answer should be replaced with reference context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants